﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using SMS.Entities;

namespace SMS.Web.Service
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IStockMasterService" in both code and config file together.
    [ServiceContract]
    public interface IStockMasterService
    {
        [OperationContract]
        List<StockMaster> LoadStockMasterList(string UserName, DateTime fromDate, DateTime endDate, out SMSException serviceError);

        [OperationContract]
        StockMaster GetCompleteStockMaster(string UserName, int StockID, out SMSException serviceError);

        [OperationContract]
        int SaveStockMaster(string UserName, StockMaster obj, out SMSException serviceError);

        [OperationContract]
        List<ProductStockWise> GetProductsByStock(string UserName, int StockID, out SMSException serviceError);

        [OperationContract]
        ProductStockWise GetCompleteProductStockDetail(string UserName, int Product_Stock_Id, out SMSException serviceError);
        [OperationContract]
        int SaveProductStockWise(string UserName, ProductStockWise Obj, out SMSException serviceError);
    }
}
